/**
 * FileName: MemberInteface2Fallback
 * Author:   杨兴
 * Date:     2019/8/21 10:51
 * Description: 熔断用类去实现
 */
package com.xiongmao.gongyu.fallbackService;

import com.xiongmao.gongyu.service.MemberInteface2;
import org.springframework.stereotype.Component;

@Component
public class MemberInteface2Fallback implements MemberInteface2 {

    @Override
    public String getMemberData(String name) {
        System.out.println("MemberInteface2服务降级"+System.currentTimeMillis());
        return "MemberInteface2服务降级";
    }

    @Override
    public String testMybatis() {
        return null;
    }
}
